home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / Anwender / Office / STFax / Rexx / AnswerHookExample.stfax next >
Text File  |  1998-01-10  |  264b  |  18 lines

  1. /*
  2.     This is an example of answer hook.
  3.  
  4.     It uses fax2ps to print every fax you receive to your
  5.     PostScript printer.
  6. */
  7.  
  8. Address 'STFAX.1'
  9.  
  10. Options Results
  11.  
  12. 'GETLASTRECEIVED'
  13. Fax = result
  14.  
  15. Address Command 'STFax:Contributions/fax2ps "'Fax'" >PAR:'
  16.  
  17. Exit 0
  18.